package repository

import "github.com/yejingxuan/accumulate/domain/entity"

type KlineRepo interface {
	CreateOrUpdateKlineInfo(data *entity.Kline) error                       //添加信息
	DelAllKline() error                                                     //删除所有的kline数据
	GetKlineInfoByCode(code string) (*entity.Kline, error)                  //获取详情
	GetKlinePageInfo(pageSize int, pageNo int) ([]entity.Kline, int, error) //分页获取kline信息
}
